/**
 * PersonMapper.java
 *
 * @author: ZhuJiahui
 * @date: 2018/12/19 22:53
 */
package com.zhujiahui.springboot.mapper;

import com.zhujiahui.springboot.domain.Person;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * @description:
 * @author: ZhuJiahui
 * @version: 1.0
 */
@Repository
public interface PersonMapper {

    @Select("SELECT * FROM person WHERE pid = #{id}")
    public Person selectPerson(int id);

}
